<div class="root tags"><div class="filtered" ng-if="stateParams.tags"><p>Showing only operations with following tag{{getCurrentTags().length === 1 ? '' : 's'}}:</p><span class="tag tag-color-{{tagIndexFor(tag)}}" ng-repeat="tag in getCurrentTags()">{{tag}} <a class="delete-tag" ui-sref="{tags: ''}">×</a></span></div><div class="all-tags" ng-if="!stateParams.tags && getAllTags().length"><p>Filter operations by a tag:</p><a class="tag tag-color-{{tagIndexFor(tag.name)}}" ui-sref="{tags: tag.name}" ng-repeat="tag in getAllTags()" title="{{tag.description}}">{{tag.name}}</a></div></div>